package com.otod.commons.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.otod.base.json.JsonSuccess;
import com.otod.base.service.BaseService;

/**
 * 生成随机数
 * @author long
 *
 */
@Controller
@RequestMapping("zTree/random")
public class TreeRodomController extends BaseService {
	//得到随机数
	@RequestMapping(value="getZtree",method = RequestMethod.GET)
	@ResponseBody
	public String getZtree(){
		return JsonSuccess.factory(super.getUUID());
		
	}
}
